#include	"Misc.h"
#include	<cstdio>

ItemId::operator const char *() const {
	static char buffer[32] = { 0 };
	snprintf(buffer, 32, "%d-%d-%d-%d", genre, detail, particular, level);
	return buffer;
}